﻿<%@ Page Language="C#" MasterPageFile="~/Masterlayout.master" AutoEventWireup="true" CodeFile="Shippers.aspx.cs" Inherits="Shippers" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>Shippers Page</title>
    <style type="text/css">
        LinkButton
        {
        	
        }
        .gv
        {
        	border:2px solid #456879;
	        border-radius:20px;
	        width:742px;
	
        }
        .tb5 {
	border:2px solid #456879;
	border-radius:10px;
	height: 22px;
	width: 230px;
        margin-left: 0px;
    }
        .style3
        {
        	color:#000000;
        }
        .td1
        {
            height: 35px;
        }
        .style1
        {
        height: 35px;
        width: 70px;
        margin-left: 120px;
    }
        .style2
        {
            width: 70px;
            margin-left: 40px;
        height: 63px;
    }
    .style4
    {
        height: 63px;
          width: 534px;
      }
    .style5
    {
        height: 27px;
        width: 70px;
        margin-left: 120px;
    }
      .style6
      {
          width: 534px;
      }
      .style7
      {
          height: 35px;
          width: 534px;
          margin-left: 120px;
      }
       .stylebtn
      {
      	border-width:1px;
      	height: 35px;
      	width:100px;
      }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 638px; height: 200px; margin-left: 160px;">
        <tbody style="margin-left: 80px">
    <tr>
        <td class="style1" >
            <asp:Label ID="ID" runat="server" Width="53px">ID</asp:Label>
        </td>
        <td class="style6">
            <asp:TextBox ID="txtID" runat="server" Width="304px" class="tb5" Enabled="false"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label1" runat="server" Width="136px">Company Name</asp:Label>
        </td>
        <td class="style6">
            <asp:TextBox ID="txtCompanyName" runat="server" Width="304px" class="tb5"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style5">
            <asp:Label ID="Label2" runat="server" Width="53px">Phone</asp:Label>
        </td>
        <td class="style6">
            <asp:TextBox ID="txtPhone" runat="server" Width="304px" class="tb5"></asp:TextBox>
            
        </td>
    </tr>
    <table style="margin-left: 100px">
    <tr>
        <td class="stylebtn">
            <asp:Button  ID="btnNew" runat="server" Text="NEW" Width="147px" class="tb5" 
                onclick="btnNew_Click"/>
        </td>
         <td class="stylebtn">
            <asp:Button  ID="btnUpdate" runat="server" Text="UPDATE" class="tb5" 
                 Width="147px" onclick="btnUpdate_Click"/>
        </td>
         <td class="stylebtn">
            <asp:Button  ID="btnInsert" runat="server" Text="INSERT" class="tb5" 
                 Width="147px" onclick="btnInsert_Click"/>
        </td>
         <td class="stylebtn" height="50">
            <asp:Button  ID="btnDelete" runat="server" Text="DELETE" class="tb5" 
                 Width="147px" onclick="btnDelete_Click" OnClientClick="return confirm('Are you sure?')"/>
        </td>
        <td class="stylebtn" height="50">
            <asp:Button  ID="btnReload" runat="server" Text="RELOAD" class="tb5" 
                Width="147px" onclick="btnReload_Click"/>
        </td>
       
    </table>
    <table style="margin-left: 100px">
    <tr >
    
    <td class="style4">
    <asp:TextBox ID="txtSearch" runat="server" placeholder="Enter search key" 
            Width="388px" class="tb5"></asp:TextBox>
        <asp:Button ID="btnsearch" runat="server" Text="SEARCH COMPANY NAME" class="tb5" 
            Width="287px" onclick="btnsearch_Click"/></td>
    
    </tr>
    </table>
    <table style="margin-left: 80px" class="style3">
    
    <tr style="margin-left: 40px">
    <td style="margin-left: 40px">
    <asp:GridView ID="gvShipper" runat="server" Width="879px"
    class="gv"
    autopostback="true"
    BackColor="White"
    SelectedRowStyle-ForeColor="White"
            AutoGenerateSelectButton="True" Height="180px" 
            onselectedindexchanged="gvShipper_SelectedIndexChanged" >
            <HeaderStyle BackColor="Orange" />
        <EditRowStyle ForeColor="Black" />
        <AlternatingRowStyle BackColor="DarkGray" />
        <SelectedRowStyle BackColor="BlueViolet" />
        </asp:GridView>
    </td>
    </tr>
    </table>
   
</table>
</asp:Content>

